﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HitchHikersGuideToTheGalaxy.Models
{
    public interface IUserRoleRepository
    {
        // Default Add, Delete and save actions
        void Add(UserRole userRole);
        void Delete(UserRole userRole);
        void Save();

        // Querys
        IQueryable<UserRole> FindAllUserRoles();
        String GetRoleById(int id);
        int GetIdByRole(String role);
    }
}
